package com.zmwx.subject.domain.service;

import com.zmwx.subject.domain.entity.SubjectLabelBO;

import java.util.List;

public interface SubjectLabelDomainService {
    boolean add(SubjectLabelBO subjectLabelBO );

    /**
     * 更新标签
     * @param subjectLabelBO
     * @return
     */
    boolean update(SubjectLabelBO subjectLabelBO);

    boolean delete(SubjectLabelBO subjectLabelBO);

    /**
     * 查询分类下标签
     * @param subjectLabelBO
     * @return
     */
    List<SubjectLabelBO> queryLabelByCategoryId(SubjectLabelBO subjectLabelBO);
}
